#ifndef __CALCULATOR_H__
#define __CALCULATOR_H__

#include <QPainter>
#include <QPaintEvent>

#include "global.h"

class calculator : public QWidget
{
Q_OBJECT

protected:
	void paintEvent(QPaintEvent* event);
	void adjustKey(float amount,int group,int bit);
	void keyPressEvent(QKeyEvent* event);
	void keyReleaseEvent(QKeyEvent* event);
	void mousePressEvent(QMouseEvent* event);
	void mouseReleaseEvent(QMouseEvent* event);
	//void resizeWindow();

public slots:
	void skinless();
	void cutOut();
	void zoom1(); // I don't know how to pass arguments to slots and don't feel like looking up right now...TODO...?
	void zoom15();
	void zoom2();
	void zoom3();
};

#endif // __CALCULATOR_H__